package com.hippoframework.utils;

import cn.hutool.setting.dialect.Props;
import lombok.extern.slf4j.Slf4j;

/**
 * 属性文件工具类
 * @author YichuanWang
 * @date 2019/12/11 17:44
 */
@Slf4j
public class PropsUtil {

    public static Props load(String fileName) {
        try {
            return Props.getProp(fileName);
        } catch (Exception e) {
            log.error("load props file {} error", fileName);
        }
        return null;
    }


}
